﻿/*
*VMukti -- An open source video conferencing platform.
*
* Copyright (C) 2007 - 2008, VMukti Solutions Pvt. Ltd.
*
* Hardik Sanghvi <hardik@vmukti.com>
*
* See http://www.vmukti.com for more information about
* the VMukti project. Please do not directly contact
* any of the maintainers of this project for assistance;
* the project provides a web site, forums and mailing lists
* for your use.
*
* This program is free software, distributed under the terms of
* the GNU General Public License Version 2. See the LICENSE file
* at the top of the source tree.
*/
using System.Collections.Generic;
using System.Runtime.Serialization;

namespace VMukti.Business.CommonDataContracts
{
    [DataContract]
    public class clsModuleInfo
    {
        [DataMember]
        public int intModuleId;

        [DataMember]
        public string strModuleName;

        [DataMember]
        public string[] strUri;

        [DataMember]
        public int[] ModPermissions;

        [DataMember]
        public string strPageid;

        [DataMember]
        public string strTabid;

        [DataMember]
        public string strPodid;

        [DataMember]
        public List<string> lstUsersDropped;

        [DataMember]
        public string strDropType;
    }

    [DataContract]
    public class clsPageInfo
    {
        [DataMember]
        public int intPageID;

        [DataMember]
        public string strPageTitle;

        [DataMember]
        public string[] straPageBuddies;
        
        [DataMember]
        public string strDropType;

        [DataMember]
        public int intOwnerID;

        [DataMember]
        public int intOwnerPageIndex;

        [DataMember]
        public clsTabInfo[] objaTabs;
    }

    [DataContract]
    public class clsTabInfo
    {
        [DataMember]
        public int intTabID;

        [DataMember]
        public string strTabTitle;

        [DataMember]
        public string[] straTabBuddies;

        [DataMember]
        public int intOwnerTabIndex;
        
        [DataMember]
        public double dblC1Width;

        [DataMember]
        public double dblC2Width;

        [DataMember]
        public double dblC3Width;

        [DataMember]
        public clsPodInfo[] objaPods;
    }

    [DataContract]
    public class clsPodInfo
    {
        [DataMember]
        public int intModuleId;

        [DataMember]
        public int intOwnerPodIndex;

        [DataMember]
        public string strPodTitle;

        [DataMember]
        public string[] strUri;

        [DataMember]
        public int intColumnNumber;

        [DataMember]
        public string[] straPodBuddies;
   }
}
